projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae68dc7
)
win32: remove another call to gdk_device_warp()
author
Christoph Reiter
<creiter@src.gnome.org>
Tue, 26 Mar 2019 07:19:42 +0000
(08:19 +0100)
committer
Christoph Reiter
<creiter@src.gnome.org>
Tue, 26 Mar 2019 07:20:07 +0000
(08:20 +0100)
Inline the implementation (untested). To fix the build.
gdk/win32/gdksurface-win32.c
patch
|
blob
|
history
diff --git
a/gdk/win32/gdksurface-win32.c
b/gdk/win32/gdksurface-win32.c
index f5ce2b357c058207c0b587298b529043535a7cde..fcf43bc33f287600220e40b048d24aac6e08f3a5 100644
(file)
--- a/
gdk/win32/gdksurface-win32.c
+++ b/
gdk/win32/gdksurface-win32.c
@@
-4112,7
+4112,7
@@
setup_drag_move_resize_context (GdkSurface *window,
* the titlebar is, if any.
*/
root_y = wy + wheight / 2;
-
gdk_device_warp (device, root_x, roo
t_y);
+
SetCursorPos (root_x - _gdk_offset_x, root_y - _gdk_offse
t_y);
}
}